package com.easygem.front.service.imp;

import com.easygem.common.model.front.Circuit;
import com.easygem.front.mapper.CircuitMapper;
import com.easygem.front.service.CircuitService;
import com.easygem.front.service.base.AbstractServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 何维佳
 * @version 1.0
 * @className CircuitServiceImpl
 * @Description TODO
 * @date 2025/2/27 18:21
 */
@Service
public class CircuitServiceImpl extends AbstractServiceImpl<CircuitMapper, Circuit,Integer> implements CircuitService {
    @Autowired
    private CircuitMapper circuitMapper;
    /**
     * 得到所有线路类型
     *
     * @return 线路类型集合
     */
    @Override
    public List<Circuit> getCircuitAll() {
        return circuitMapper.getCircuitAll();
    }
}
